package com.thunbu.lib_common.base

import android.app.Application
import me.jessyan.autosize.AutoSizeConfig


/**
 *Created by Chaolue.Fan on 2021/5/13
描述:
 */
abstract class BaseApplication : Application() {
    var macAddress: String? = null

    override fun onCreate() {
        super.onCreate()
        myApplication = this
        //AutoSizeConfig.getInstance().isBaseOnWidth = false
    }

    companion object {
        lateinit var myApplication: BaseApplication

        @Synchronized
        open fun getInstance(): BaseApplication {
            return myApplication
        }
    }


}